#include "hd_smooth.h"

HD_Smooth::HD_Smooth()
{
    //ctor
}

HD_Smooth::~HD_Smooth()
{
    //dtor
}

void HD_Smooth::Demo(const char* fileName)
{
    HD_Smooth::Smooth(fileName);
}

void HD_Smooth::Smooth(const char* fileName)
{
    Mat src = imread(fileName);
    Mat dst;

    blur(src, dst, Size(3, 3), Point(-1, -1));

    imshow("input", src);
    imshow("blur output", dst);

    printData(dropImage(src, 0, 0, 27, 27));

    waitKey();
    destroyAllWindows();
}
